package com.aigou.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
//import io.swagger.annotations.ApiModel;
//import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author cw
 * @since 2024-05-11
 */
@TableName("tb_content")
//@ApiModel(value = "Content对象", description = "")
public class Content implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

//    @ApiModelProperty("内容类目ID")
    private Long categoryId;

//    @ApiModelProperty("内容标题")
    private String title;

//    @ApiModelProperty("链接")
    private String url;

//    @ApiModelProperty("图片绝对路径")
    private String pic;

//    @ApiModelProperty("状态")
    private String status;

//    @ApiModelProperty("排序")
    private Integer sortOrder;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(Integer sortOrder) {
        this.sortOrder = sortOrder;
    }

    @Override
    public String toString() {
        return "Content{" +
            "id = " + id +
            ", categoryId = " + categoryId +
            ", title = " + title +
            ", url = " + url +
            ", pic = " + pic +
            ", status = " + status +
            ", sortOrder = " + sortOrder +
        "}";
    }
}
